#include "QtWidgetsClass.h"
#include "FpHFMainWidget.h"
#include "SubTestWidget.h"

QtWidgetsClass::QtWidgetsClass(QWidget *parent)
	: QWidget(parent)
	, ui(new Ui::QtWidgetsClassClass())
{
	ui->setupUi(this);
	ui->widget->RegisterSubWidget<SubTestWidget>();
	ui->widget->InitSubWidget<SubTestWidget>(2);
	//ui->widget->ShowSubWidget("class SubTestWidget", 0);
	ui->widget->ShowSubWidget("SubTestWidget", 0);

}

QtWidgetsClass::~QtWidgetsClass()
{
	delete ui;
}
